﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace for7raid.vkConnector
{
    public static class Wall
    {
        public const string WallPost = "wall.post";

        public static Request PostAudio(int UserId, int OwnerId, int AudioId, string Message)
        {
            return new Request(WallPost)
            .AddParam("owner_id", UserId)
            .AddParam("attachment", "audio" + OwnerId + "_" + AudioId)
            .AddParam("message",Message);
        }

        public static Request Post(int UserId, string attachment , string Message)
        {
            return new Request(WallPost)
            .AddParam("owner_id", UserId)
            .AddParam("attachment", attachment)
            .AddParam("message", Message);
        }
    }
}
